import SvgIcon from './SvgIcon.vue';
import HintButton from './HintButton.vue';
import Authority from './Authority.vue';
import type { App, Component } from 'vue';

const components: { [name: string]: Component } = {
  SvgIcon,
  HintButton,
  Authority
};

export default {
  install(app: App) {
    Object.keys(components).forEach((key: string) => {
      app.component(key, components[key]);
    });
  }
};
